﻿namespace Aquarinum.Base.Infrastructure.EventBus.Interfaces
{
    /// <summary>
    /// 接受错误处理策咯
    /// </summary>
    public interface IConsumerErrorStrategy
    {
        /// <summary>
        /// 获取error队列名称
        /// </summary>
        string GetErrorQueueName();


        /// <summary>
        /// 生成错误摘要信息
        /// </summary>
        /// <returns></returns>
        string GetErrorAbstract();
    }
}